package com.cskaoyan.bean.vo.adminOrder;

/**
 * @projectName: seeonproject1
 * @package: com.cskaoyan.bean.vo.adminOrder
 * @className: OrderGoods
 * @author: YangDongpeng
 * @description:
 * @date: 2022/6/4 23:35
 * @version: 1.0
 */
/**
 * Copyright 2022 json.cn
 */

import lombok.Data;

import java.util.List;
import java.util.Date;

@Data

public class OrderGoods {

    private int id;
    private int orderId;
    private long goodsId;
    private String goodsName;
    private String goodsSn;
    private int productId;
    private int number;
    private int price;
    //  ["a","吧"]   -->  "a, 吧"

    private List<String> specifications;
    private String picUrl;
    private int comment;
    private Date addTime;
    private Date updateTime;
    private boolean deleted;

    public OrderGoods(int id, int orderId, long goodsId, String goodsName, String goodsSn, int productId, int number, int price, List<String> specifications, String picUrl, int comment, Date addTime, Date updateTime, boolean deleted) {
        this.id = id;
        this.orderId = orderId;
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsSn = goodsSn;
        this.productId = productId;
        this.number = number;
        this.price = price;
        this.specifications = specifications;
        this.picUrl = picUrl;
        this.comment = comment;
        this.addTime = addTime;
        this.updateTime = updateTime;
        this.deleted = deleted;
    }
}